package sw6.launcher;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * Database table information for application information.
 * 
 * @author SW6C
 */
public final class TableInfo {
	/** The content provider authority */
    public static final String AUTHORITY = "sw6.launcher.provider";
    
    /** Inaccessible constructor (static info is the only thing needed). */
	private TableInfo() {}
	
	/**
	 * Class that defines table strucure for the applications table.
	 * @author SW6C
	 *
	 */
	public static final class Applications implements BaseColumns {
		private Applications() {}
		
		public static final Uri CONTENT_URI = Uri.parse("content://"+AUTHORITY+"/applications");
		public static final String CONTENT_TYPE = "vnd.android.curser.dir/sw6.launcher.application";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.curser.item/sw6.launcher.application";
		public static final String DEFAULT_SORT_ORDER = "packageName DESC";
		public static final String APPLICATION_OBJECT = "applicationObject";
		public static final String SSID_BLACKLIST = "ssidBlacklist";
		public static final String PACKAGE_NAME = "packageName";
	}
}
